package com.huabo.contract.oracle.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huabo.contract.config.IgnoreSwaggerParameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName("TBL_CONTRACT_PROJECT")
@Data
@ApiModel("实体类")
@Accessors(chain = true)
public class TblContractProject {
	
	@TableId(value = "projectid", type= IdType.AUTO)
	@ApiModelProperty(value="")
	private Integer projectid;
	
	@TableField(value = "projectname")
	@ApiModelProperty(value="")
	private String projectname;
	
	@TableField(value = "projectcode")
	@ApiModelProperty(value="")
	private String projectcode;
	
	@TableField(value = "memo")
	@ApiModelProperty(value="")
	private String memo;
	
	@TableField(value = "createtime")
	@ApiModelProperty(value="")
	private Date createtime;
	
	@TableField(value = "STATE")
	@ApiModelProperty(value="")
	private String STATE;
	
	@TableField(value = "undertakestaffid")
	@ApiModelProperty(value="")
	private String undertakestaffid;
	
	@TableField(value = "undertakeorgid")
	@ApiModelProperty(value="")
	private String undertakeorgid;
	
	@TableField(value = "undertakestaff")
	@ApiModelProperty(value="", hidden = true)
	@IgnoreSwaggerParameter
	private TblStaff undertakestaff;
	
	@TableField(value = "undertakeorg")
	@ApiModelProperty(value="", hidden = true)
	@IgnoreSwaggerParameter
	private TblOrganization undertakeorg;
	
	@TableField(value = "CREATESTAFFID")
	@ApiModelProperty(value="")
	private String createstaffid;
}
